//
//  CommentForm.h
//  nova
//
//  Created by user on 11/07/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Comment.h"
#import "DataContext.h"
#import "Library.h"
#import "novaAppDelegate.h"
#define myAppDelegate (novaAppDelegate *) [[UIApplication sharedApplication] delegate]

@class Comment;


@interface CommentForm : UIViewController {
	Comment *comment;
	IBOutlet UILabel *lblDate;
	IBOutlet UILabel *lblOwner;
	IBOutlet UITextView *txtDescription;
}

@property (readwrite, assign)  Comment * comment;

-(IBAction) openHistory;
-(IBAction) saveAction;
-(IBAction) cancelChanges;
-(IBAction) textFieldReturn : (id) sender;
-(void) initObjects;

@end
